<template>
    <input type="Number" v-model="user.age"/>
</template>
<script setup>
import { reactive, ref, watchEffect } from "vue";


let user = reactive({
    name:'lxy',
    age:12
})

watchEffect(() =>{
    console.log(user.age);
})
</script>